package com.itheima.service;

import com.itheima.common.R;
import com.itheima.dto.ClueQueryDto;
import com.itheima.pojo.TbBusiness;
import com.itheima.pojo.TbClue;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * 线索(TbBusiness)表服务接口
 *
 * @author makejava
 * @since 2022-01-16 15:48:53
 */
public interface TbBusinessService {


    R insertClue(TbClue tbClue);

    R page(ClueQueryDto clueQueryDto);

    R insertBusiness(TbBusiness tbBusiness);

    R getById(Long id);

    R update(TbBusiness tbBusiness);

    R updateStatus(Long id,String status);
}
